package com.tuanzi.loan.business.service.settlementsystem;

import com.tuanzi.loan.business.entity.settlementsystem.SettlementPrepay;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.settlementsystem.SettlementPrepayRequest;
import com.tuanzi.loan.vo.response.settlementsystem.SettlementPrepayResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-22 17:39
 */
public interface SettlementPrepayService extends BaseAuditService<SettlementPrepay,Long> {
    Page<SettlementPrepayResponse> list(PageSearcher<SettlementPrepayRequest> pageSearcher);

    void onSave(SettlementPrepay settlementPrepay,Long onSeeCompanyId);

    List<SettlementPrepay> findAllByBillId(Long billId);

}
